<?php

namespace app\lucky\model;

use think\Model;

class User extends Model
{
    protected $pk = 'uid';

    /**
     * 根据手机号码查询用户数据
     * @param $mobile int/string
     * @return mixed array
     */
    public static function mobileFind($mobile){
        return User::getByMobile($mobile);
    }
}
